<template>
  <Card title="日历" v-bind="$attrs">

    <Calendar v-model:value="value" />

    <!-- <CardGrid v-for="item in groupItems" :key="item.title" class="!md:w-1/3 !w-full">
      <span class="flex">
        <Icon :icon="item.icon" :color="item.color" size="30" />
        <span class="text-lg ml-4">{{ item.title }}</span>
      </span>
      <div class="flex mt-2 h-10 text-secondary">{{ item.desc }}</div>
      <div class="flex justify-between text-secondary">
        <span>{{ item.group }}</span>
        <span>{{ item.date }}</span>
      </div>
    </CardGrid> -->
  </Card>
</template>
<script lang="ts" setup>
  import { Card } from 'ant-design-vue';
  import { Calendar } from 'ant-design-vue';
  import { Dayjs } from 'dayjs';
  import { ref } from 'vue';

  const value = ref<Dayjs>();
</script>
